package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingUseHistoryCardExample;
import com.xingkeduo.model.po.TMarketingUseHistoryCard;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingUseHistoryCardMapper {
    int countByExample(TMarketingUseHistoryCardExample example);

    int deleteByExample(TMarketingUseHistoryCardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingUseHistoryCard record);

    int insertSelective(TMarketingUseHistoryCard record);

    List<TMarketingUseHistoryCard> selectByExample(TMarketingUseHistoryCardExample example);

    TMarketingUseHistoryCard selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingUseHistoryCard record, @Param("example") TMarketingUseHistoryCardExample example);

    int updateByExample(@Param("record") TMarketingUseHistoryCard record, @Param("example") TMarketingUseHistoryCardExample example);

    int updateByPrimaryKeySelective(TMarketingUseHistoryCard record);

    int updateByPrimaryKey(TMarketingUseHistoryCard record);
}